package com.xuanwei.core.entity.ao;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author jiangyong
 * @Description TODO
 * @Date 2019/4/25 13:54
 **/
@Data
public class ProductAttributeAO implements Serializable {

    private Integer id;
    /**
     * 名称
     */
    private String name;
    /**
     * 值
     */
    private List<AttributeValue> values;


    public static class AttributeValue{

        private Integer id;
        /**
         * 名称
         */
        private String name;
        /**
         * 图
         */
        private String image;

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
